﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;
using ChungNhanSinhVien.Models;

namespace ChungNhanSinhVien.Entities
{
    public class YeuCauModel
    {
        [Required]
        public string maSV { get; set; }

        [Required]
        [ValidatePasswordLength]
        [DataType(DataType.Password)]
        public string matKhau { get; set; }

        [Required]
        public string loaiCN { get; set; }

        [Required]
        public List<SelectListItem> loaiCNList { get; set; }

        [Required]
        public string chungnhan { get; set; }

        [Required]
        public List<SelectListItem> chungnhanList { get; set; }

        [Required]
        [Range(1, 9999)]
        public int soluongyeucau { get; set; }


        public string ngaybatdau{ get; set; }
        public string ngaycuoi { get; set; }
        public string msb_taomoi { get; set; }
        public string msb_kiemtra { get; set; }
        public string msb_ngaybatdau { get; set; }
        public string msb_ngaycuoi { get; set; }
        public string msb_soluong { get; set; }
    }
}